package com.ybbase.framework.service.system;

import com.ybbase.framework.base.model.TreeModel;
import com.ybbase.framework.model.po.system.Area;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ybbase.framework.model.po.system.Permission;

import java.util.List;

/**
 * <p>
 * 系统区域 服务类
 * </p>
 *
 * @author cg
 * @since 2019-11-25
 */
public interface AreaService extends IService<Area> {

    /**
     * 排序地区列表
     * @param list 地区列表
     * @return List<TreeModel>
     * @author cg
     * @date 2019-12-01 21:46
     * @since cloud2.0
    */
    List<TreeModel> findSortArea(List<Area> list);

}
